import 'package:get/get.dart';
import 'package:winkai/ui/msg/chat_page.dart';
import 'package:winkai/ui/root_page.dart';
import 'package:winkai/ui/user/setting_page.dart';
import 'package:winkai/ui/user/user_details_page.dart';
import 'package:winkai/ui/vip/vip_page.dart';

class RouteManifest {
  /// 初始化路由
  static const String initialRoute = main;

  ///主页
  static const String main = "/";
  static const String chatPage = "/ChatPage";
  static const String userDetailsPage = "/UserDetailsPage";
  static const String settingPage = "/SettingPage";
  static const String vipPage = "/VipPage";

  ///路由清单
  static List<GetPage> getPages = [
    GetPage(name: main, page: () => const RootPage()),
    GetPage(name: chatPage, page: () => const ChatPage()),
    GetPage(name: userDetailsPage, page: () => const UserDetailsPage()),
    GetPage(name: settingPage, page: () => const SettingPage()),
    GetPage(name: vipPage, page: () => const VipPage()),
  ];
}
